package com.jdrx.ocp.dao;

import com.jdrx.ocp.beans.entity.UserLoginStatsPO;
import com.jdrx.platform.jdbc.dao.BaseDAO;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Mapper
@Component
public interface UserLoginStatsDAO extends BaseDAO<UserLoginStatsPO> {
    UserLoginStatsPO findLastRecord();

    List<Map<String, Object>> listByDate(Map<String, Object> queryMap);
}
